[INFO] fetching crate byteplug 0.0.1...
[INFO] building byteplug-0.0.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate byteplug 0.0.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate byteplug 0.0.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate byteplug 0.0.1
[INFO] finished tweaking crates.io crate byteplug 0.0.1
[INFO] tweaked toml for crates.io crate byteplug 0.0.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate byteplug 0.0.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 49a033c70c2793b6fab8dcbd39b9de0610ce7a8827d7f68971ebfa8d8db0d4e6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "49a033c70c2793b6fab8dcbd39b9de0610ce7a8827d7f68971ebfa8d8db0d4e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49a033c70c2793b6fab8dcbd39b9de0610ce7a8827d7f68971ebfa8d8db0d4e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49a033c70c2793b6fab8dcbd39b9de0610ce7a8827d7f68971ebfa8d8db0d4e6", kill_on_drop: false }`
[INFO] [stdout] 49a033c70c2793b6fab8dcbd39b9de0610ce7a8827d7f68971ebfa8d8db0d4e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26f7677cdac13435d25845203eb441d2516e95183b512dfb0598c7d1006696a1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "26f7677cdac13435d25845203eb441d2516e95183b512dfb0598c7d1006696a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling same-file v1.0.5
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling smallvec v1.0.0
[INFO] [stderr]    Compiling khronos_api v1.0.1
[INFO] [stderr]    Compiling instant v0.1.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling lock_api v0.3.2
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling walkdir v2.2.9
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling gl_generator v0.5.5
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling rusttype v0.8.2
[INFO] [stderr]    Compiling byteplug v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling glutin v0.24.0
[INFO] [stdout] warning: unused import: `crate::draw::gl`
[INFO] [stdout]   --> src/draw/context.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::draw::gl;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gl`
[INFO] [stdout]   --> src/application/window.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::draw::{gl, Surface};
[INFO] [stdout]    |                   ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:207:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |             control: input.modifiers.ctrl(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |             shift: input.modifiers.shift(),
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             alternate: input.modifiers.alt(),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 210 |             system: input.modifiers.logo()
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:358:78
[INFO] [stdout]     |
[INFO] [stdout] 358 |             winit::event::WindowEvent::CursorMoved { device_id: _, position, modifiers } => {
[INFO] [stdout]     |                                                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:361:82
[INFO] [stdout]     |
[INFO] [stdout] 361 |             winit::event::WindowEvent::MouseInput { device_id: _, state, button, modifiers }=> {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:364:81
[INFO] [stdout]     |
[INFO] [stdout] 364 |             winit::event::WindowEvent::MouseWheel { device_id: _, delta, phase, modifiers } => {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/draw/surface.rs:76:28
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(size: Size, options: Options) -> Surface {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_synthetic`
[INFO] [stdout]    --> src/application/window.rs:203:99
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn handle_keyboard_input(&mut self, states: &mut States, input: &winit::event::KeyboardInput, is_synthetic: &bool) {
[INFO] [stdout]     |                                                                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_synthetic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `states`
[INFO] [stdout]    --> src/application/window.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |                           states: &mut States,
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/application/window.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |                           state: &winit::event::ElementState,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/application/window.rs:285:27
[INFO] [stdout]     |
[INFO] [stdout] 285 |                           button: &winit::event::MouseButton,
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/application/window.rs:286:27
[INFO] [stdout]     |
[INFO] [stdout] 286 |                           modifiers: &winit::event::ModifiersState) {
[INFO] [stdout]     |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/application/window.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let (mut raw_context, window) = unsafe {
[INFO] [stdout]    |              ----^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `depth_bits`
[INFO] [stdout]   --> src/draw/options.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     depth_bits: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `stencil_bits`
[INFO] [stdout]   --> src/draw/options.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     stencil_bits: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `antialiasing_level`
[INFO] [stdout]   --> src/draw/options.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     antialiasing_level: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `srgb`
[INFO] [stdout]   --> src/draw/options.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     srgb: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vsync`
[INFO] [stdout]   --> src/draw/options.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     vsync: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `debug`
[INFO] [stdout]   --> src/draw/options.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     debug: Option<u32>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `render_buffer`
[INFO] [stdout]   --> src/draw/surface.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     render_buffer: u32, // not used in the case of a window surface
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `frame_buffer`
[INFO] [stdout]   --> src/draw/surface.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     frame_buffer: u32,  // not used in the case of a window surface
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `size`
[INFO] [stdout]   --> src/draw/surface.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     size: Size
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vertex_shader`
[INFO] [stdout]   --> src/draw/shader.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     vertex_shader: gl::types::GLuint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `fragment_shader`
[INFO] [stdout]   --> src/draw/shader.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fragment_shader: gl::types::GLuint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `DEFAULT_SHADER`
[INFO] [stdout]   --> src/draw/default_shader.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | static mut DEFAULT_SHADER: Option<Shader> = None;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `VERTEX_SHADER_SRC`
[INFO] [stdout]   --> src/draw/default_shader.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / const VERTEX_SHADER_SRC: &'static [u8] = b"
[INFO] [stdout] 14 | | #version 300 es
[INFO] [stdout] 15 | | precision mediump float;
[INFO] [stdout] 16 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout] 26 | | \0";
[INFO] [stdout]    | |____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `FRAGMENT_SHADER_SRC`
[INFO] [stdout]   --> src/draw/default_shader.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / const FRAGMENT_SHADER_SRC: &'static [u8] = b"
[INFO] [stdout] 29 | | #version 300 es
[INFO] [stdout] 30 | | precision mediump float;
[INFO] [stdout] 31 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | | }
[INFO] [stdout] 38 | | \0";
[INFO] [stdout]    | |____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `ensure_default_shader`
[INFO] [stdout]   --> src/draw/default_shader.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn ensure_default_shader() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_or_create_default_shader`
[INFO] [stdout]   --> src/draw/default_shader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn get_or_create_default_shader() -> &'static mut Shader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `pressed_keys`
[INFO] [stdout]    --> src/controller/keyboard.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pressed_keys: HashMap<Key, ()>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `title`
[INFO] [stdout]   --> src/application/window.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     title: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `position`
[INFO] [stdout]   --> src/application/window.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     position: Position,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `size`
[INFO] [stdout]   --> src/application/window.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     size: Size,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `window`
[INFO] [stdout]   --> src/application/window.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     window: winit::window::Window,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 37 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 19.58s
[INFO] running `Command { std: "docker" "inspect" "26f7677cdac13435d25845203eb441d2516e95183b512dfb0598c7d1006696a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26f7677cdac13435d25845203eb441d2516e95183b512dfb0598c7d1006696a1", kill_on_drop: false }`
[INFO] [stdout] 26f7677cdac13435d25845203eb441d2516e95183b512dfb0598c7d1006696a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d920a6e40e25aa9a82cfb96faefb7c6c6333d129df374c9a30f239a687f2c160
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d920a6e40e25aa9a82cfb96faefb7c6c6333d129df374c9a30f239a687f2c160", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `crate::draw::gl`
[INFO] [stdout]   --> src/draw/context.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::draw::gl;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gl`
[INFO] [stdout]   --> src/application/window.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::draw::{gl, Surface};
[INFO] [stdout]    |                   ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:207:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |             control: input.modifiers.ctrl(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |             shift: input.modifiers.shift(),
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             alternate: input.modifiers.alt(),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 210 |             system: input.modifiers.logo()
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:358:78
[INFO] [stdout]     |
[INFO] [stdout] 358 |             winit::event::WindowEvent::CursorMoved { device_id: _, position, modifiers } => {
[INFO] [stdout]     |                                                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:361:82
[INFO] [stdout]     |
[INFO] [stdout] 361 |             winit::event::WindowEvent::MouseInput { device_id: _, state, button, modifiers }=> {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:364:81
[INFO] [stdout]     |
[INFO] [stdout] 364 |             winit::event::WindowEvent::MouseWheel { device_id: _, delta, phase, modifiers } => {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/draw/surface.rs:76:28
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(size: Size, options: Options) -> Surface {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_synthetic`
[INFO] [stdout]    --> src/application/window.rs:203:99
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn handle_keyboard_input(&mut self, states: &mut States, input: &winit::event::KeyboardInput, is_synthetic: &bool) {
[INFO] [stdout]     |                                                                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_synthetic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `states`
[INFO] [stdout]    --> src/application/window.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |                           states: &mut States,
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/application/window.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |                           state: &winit::event::ElementState,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/application/window.rs:285:27
[INFO] [stdout]     |
[INFO] [stdout] 285 |                           button: &winit::event::MouseButton,
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/application/window.rs:286:27
[INFO] [stdout]     |
[INFO] [stdout] 286 |                           modifiers: &winit::event::ModifiersState) {
[INFO] [stdout]     |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/application/window.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let (mut raw_context, window) = unsafe {
[INFO] [stdout]    |              ----^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `depth_bits`
[INFO] [stdout]   --> src/draw/options.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     depth_bits: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `stencil_bits`
[INFO] [stdout]   --> src/draw/options.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     stencil_bits: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `antialiasing_level`
[INFO] [stdout]   --> src/draw/options.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     antialiasing_level: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `srgb`
[INFO] [stdout]   --> src/draw/options.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     srgb: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vsync`
[INFO] [stdout]   --> src/draw/options.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     vsync: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `debug`
[INFO] [stdout]   --> src/draw/options.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     debug: Option<u32>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `render_buffer`
[INFO] [stdout]   --> src/draw/surface.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     render_buffer: u32, // not used in the case of a window surface
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `frame_buffer`
[INFO] [stdout]   --> src/draw/surface.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     frame_buffer: u32,  // not used in the case of a window surface
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `size`
[INFO] [stdout]   --> src/draw/surface.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     size: Size
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vertex_shader`
[INFO] [stdout]   --> src/draw/shader.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     vertex_shader: gl::types::GLuint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `fragment_shader`
[INFO] [stdout]   --> src/draw/shader.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fragment_shader: gl::types::GLuint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `DEFAULT_SHADER`
[INFO] [stdout]   --> src/draw/default_shader.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | static mut DEFAULT_SHADER: Option<Shader> = None;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `VERTEX_SHADER_SRC`
[INFO] [stdout]   --> src/draw/default_shader.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / const VERTEX_SHADER_SRC: &'static [u8] = b"
[INFO] [stdout] 14 | | #version 300 es
[INFO] [stdout] 15 | | precision mediump float;
[INFO] [stdout] 16 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout] 26 | | \0";
[INFO] [stdout]    | |____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `FRAGMENT_SHADER_SRC`
[INFO] [stdout]   --> src/draw/default_shader.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / const FRAGMENT_SHADER_SRC: &'static [u8] = b"
[INFO] [stdout] 29 | | #version 300 es
[INFO] [stdout] 30 | | precision mediump float;
[INFO] [stdout] 31 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | | }
[INFO] [stdout] 38 | | \0";
[INFO] [stdout]    | |____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling byteplug v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `ensure_default_shader`
[INFO] [stdout]   --> src/draw/default_shader.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn ensure_default_shader() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_or_create_default_shader`
[INFO] [stdout]   --> src/draw/default_shader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn get_or_create_default_shader() -> &'static mut Shader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `pressed_keys`
[INFO] [stdout]    --> src/controller/keyboard.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pressed_keys: HashMap<Key, ()>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `title`
[INFO] [stdout]   --> src/application/window.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     title: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `position`
[INFO] [stdout]   --> src/application/window.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     position: Position,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `size`
[INFO] [stdout]   --> src/application/window.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     size: Size,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `window`
[INFO] [stdout]   --> src/application/window.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     window: winit::window::Window,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 37 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::draw::gl`
[INFO] [stdout]   --> src/draw/context.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::draw::gl;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gl`
[INFO] [stdout]   --> src/application/window.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::draw::{gl, Surface};
[INFO] [stdout]    |                   ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:207:22
[INFO] [stdout]     |
[INFO] [stdout] 207 |             control: input.modifiers.ctrl(),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |             shift: input.modifiers.shift(),
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:209:24
[INFO] [stdout]     |
[INFO] [stdout] 209 |             alternate: input.modifiers.alt(),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:210:21
[INFO] [stdout]     |
[INFO] [stdout] 210 |             system: input.modifiers.logo()
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:358:78
[INFO] [stdout]     |
[INFO] [stdout] 358 |             winit::event::WindowEvent::CursorMoved { device_id: _, position, modifiers } => {
[INFO] [stdout]     |                                                                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:361:82
[INFO] [stdout]     |
[INFO] [stdout] 361 |             winit::event::WindowEvent::MouseInput { device_id: _, state, button, modifiers }=> {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::MouseWheel::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/application/window.rs:364:81
[INFO] [stdout]     |
[INFO] [stdout] 364 |             winit::event::WindowEvent::MouseWheel { device_id: _, delta, phase, modifiers } => {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]   --> src/draw/surface.rs:76:28
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(size: Size, options: Options) -> Surface {
[INFO] [stdout]    |                            ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_synthetic`
[INFO] [stdout]    --> src/application/window.rs:203:99
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn handle_keyboard_input(&mut self, states: &mut States, input: &winit::event::KeyboardInput, is_synthetic: &bool) {
[INFO] [stdout]     |                                                                                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_synthetic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `states`
[INFO] [stdout]    --> src/application/window.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |                           states: &mut States,
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_states`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/application/window.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |                           state: &winit::event::ElementState,
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/application/window.rs:285:27
[INFO] [stdout]     |
[INFO] [stdout] 285 |                           button: &winit::event::MouseButton,
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/application/window.rs:286:27
[INFO] [stdout]     |
[INFO] [stdout] 286 |                           modifiers: &winit::event::ModifiersState) {
[INFO] [stdout]     |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/application/window.rs:90:14
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let (mut raw_context, window) = unsafe {
[INFO] [stdout]    |              ----^^^^^^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `depth_bits`
[INFO] [stdout]   --> src/draw/options.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     depth_bits: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `stencil_bits`
[INFO] [stdout]   --> src/draw/options.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     stencil_bits: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `antialiasing_level`
[INFO] [stdout]   --> src/draw/options.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     antialiasing_level: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `srgb`
[INFO] [stdout]   --> src/draw/options.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     srgb: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vsync`
[INFO] [stdout]   --> src/draw/options.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     vsync: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `debug`
[INFO] [stdout]   --> src/draw/options.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     debug: Option<u32>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `render_buffer`
[INFO] [stdout]   --> src/draw/surface.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     render_buffer: u32, // not used in the case of a window surface
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `frame_buffer`
[INFO] [stdout]   --> src/draw/surface.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     frame_buffer: u32,  // not used in the case of a window surface
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `size`
[INFO] [stdout]   --> src/draw/surface.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     size: Size
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `vertex_shader`
[INFO] [stdout]   --> src/draw/shader.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     vertex_shader: gl::types::GLuint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `fragment_shader`
[INFO] [stdout]   --> src/draw/shader.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fragment_shader: gl::types::GLuint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static is never used: `DEFAULT_SHADER`
[INFO] [stdout]   --> src/draw/default_shader.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | static mut DEFAULT_SHADER: Option<Shader> = None;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `VERTEX_SHADER_SRC`
[INFO] [stdout]   --> src/draw/default_shader.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / const VERTEX_SHADER_SRC: &'static [u8] = b"
[INFO] [stdout] 14 | | #version 300 es
[INFO] [stdout] 15 | | precision mediump float;
[INFO] [stdout] 16 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | | }
[INFO] [stdout] 26 | | \0";
[INFO] [stdout]    | |____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `FRAGMENT_SHADER_SRC`
[INFO] [stdout]   --> src/draw/default_shader.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / const FRAGMENT_SHADER_SRC: &'static [u8] = b"
[INFO] [stdout] 29 | | #version 300 es
[INFO] [stdout] 30 | | precision mediump float;
[INFO] [stdout] 31 | |
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | | }
[INFO] [stdout] 38 | | \0";
[INFO] [stdout]    | |____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `ensure_default_shader`
[INFO] [stdout]   --> src/draw/default_shader.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn ensure_default_shader() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_or_create_default_shader`
[INFO] [stdout]   --> src/draw/default_shader.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn get_or_create_default_shader() -> &'static mut Shader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `pressed_keys`
[INFO] [stdout]    --> src/controller/keyboard.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pressed_keys: HashMap<Key, ()>
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `title`
[INFO] [stdout]   --> src/application/window.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     title: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `position`
[INFO] [stdout]   --> src/application/window.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     position: Position,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `size`
[INFO] [stdout]   --> src/application/window.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     size: Size,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `window`
[INFO] [stdout]   --> src/application/window.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     window: winit::window::Window,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 37 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.13s
[INFO] running `Command { std: "docker" "inspect" "d920a6e40e25aa9a82cfb96faefb7c6c6333d129df374c9a30f239a687f2c160", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d920a6e40e25aa9a82cfb96faefb7c6c6333d129df374c9a30f239a687f2c160", kill_on_drop: false }`
[INFO] [stdout] d920a6e40e25aa9a82cfb96faefb7c6c6333d129df374c9a30f239a687f2c160
